﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication
{
    class Program
    {
        static void Main(string[] args)
        {
            //Console.WriteLine("BoxClass");
            //BoxClass bc = new BoxClass();
            //bc.MutiBoxing();
            //Console.ReadLine();

            //Console.WriteLine("TypeClass");
            //Console.WriteLine(TypeClass.AConstNum);
            //TypeClass tc1 = new TypeClass();
            //tc1.AddProperty = 100;
            //TypeClass tc2 = new TypeClass();
            //tc2.AddProperty = 200;
            //TypeClass tc3 = tc1 + tc2;
            //Console.WriteLine(tc3.AddProperty);
            //Console.WriteLine(tc3.ToString());
            //Console.WriteLine((Int32)tc3);
            //Int64 i = tc3;
            //Console.WriteLine(i);
            //Console.WriteLine(tc3 + 10);
            //Console.WriteLine(tc3.Add(10, 20, 30, 40));
            //Console.WriteLine(tc3[100,false]);
            //Console.WriteLine(tc3[false]);
            //Console.ReadLine();

            //Console.WriteLine("EventClass");
            //MsgManageClass mmc = new MsgManageClass();
            //ReceiveMsgClass rmc = new ReceiveMsgClass(mmc);
            //mmc.SendMsg("Hello!");
            //Console.ReadLine();

            //Console.WriteLine("StringClass");
            //StringClass sc = new StringClass();
            //sc.CharShow();
            //sc.StringShow();
            //sc.StringBuilderShow();
            //sc.OthersShow();
            //sc.SecureStringShow();
            //Console.ReadLine();

            Console.WriteLine("ArrayClass");
            ArrayClass ac = new ArrayClass();
            ac.Call();
            Console.ReadLine();
        }
    }
}
